package com.learning.javaweb_springboot_test.service;


import com.learning.javaweb_springboot_test.entity.Student;
import com.learning.javaweb_springboot_test.entity.Teacher;
import org.springframework.stereotype.Service;

@Service
public interface TeacherService {

    //增
    public void addTeacher(Teacher teacher);
    //删
    public void deleteTeacher(Integer id);
    //改
    public void updateTeacher(Teacher teacher);
    //根据id查询
    public Teacher queryTeacherById(Integer id);
}
